﻿@model Project_KhuyenMaiVang.Models.DoanhNghiepInfo
@{
    ViewBag.Title = "ThongTinCaNhan";
    Layout = "~/Views/Shared/_LayoutDoanhNghiep.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2">
                    <div align="center" class="TieuDeTheTable">
                        CẬP NHẬT THÔNG TIN DOANH NGHIỆP</div>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    Tên doanh nghiệp
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    @Html.TextBoxFor(model => model.TenDoanhNghiep)
                </td>
            </tr>
            <tr>
                <td colspan="1">
                    Email
                </td>
                <td colspan="1">
                    Facebook
                </td>
            </tr>
            <tr>
                <td colspan="1">
                    @Html.TextBoxFor(model => model.Email)
                </td>
                <td colspan="1">
                    @Html.TextBoxFor(model => model.Facebook)
                </td>
            </tr>
            <tr>
                <td width="50%">
                    Địa chỉ
                </td>
                <td width="50%">
                    Trang web
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(model => model.DiaChi)
                </td>
                <td>
                    @Html.TextBoxFor(model => model.TrangWeb)
                </td>
            </tr>
            <tr>
                <td width="50%">
                    Số điện thoại
                </td>
                <td width="50%">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(model => model.SoDienThoai)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Mật khẩu hiện tại
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    @Html.PasswordFor(model => model.CurrentPassword)
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Mật khẩu mới
                </td>
                <td>
                    Xác nhận mật khẩu mới
                </td>
            </tr>
            <tr>
                <td>
                    @Html.PasswordFor(model => model.newPassword1)
                </td>
                <td>
                    @Html.PasswordFor(model => model.newPassword2)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr />
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="Lưu" />
                </td>
            </tr>
        </table>
    </fieldset>
}